package com.q.tqb.model;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2017/12/26.
 */

public class RedListData implements Parcelable {

    /**
     * uid : 13
     * rid : 20
     * packet_money : 0.01
     * surplus_money : 0.00
     * get_num : 0
     * packet_num : 1
     * is_top : 0
     * packet_type : 1
     * get_secret : 测试
     * is_show_money : 1
     * nickname : 勿忘初心、
     * sex : 1
     * header : http://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTJKRUVQESwCvXV9Uur574VAFZdXVDcz58oC5nJjFLBibIlw71xW0eialuYRGiatVI3WCx426wSUrGjeg/0
     * user_integral : 0
     * vip_garde : 0
     * level : 1
     */

    private int uid;
    private int rid;
    private String packet_money;
    private String surplus_money;
    private int get_num;
    private int packet_num;
    private int is_top;
    private int packet_type;
    private String packet_title;
    private String packet_content;
    private int is_show_money;
    private String nickname;
    private int sex;
    private String header;
    private String packet_picture;
    private int user_integral;
    private int vip_garde;
    private int level;
    private int is_users_agent;

    private String get_secret;


    public String getGet_secret() {
        return get_secret;
    }

    public void setGet_secret(String get_secret) {
        this.get_secret = get_secret;
    }


    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public int getRid() {
        return rid;
    }

    public void setRid(int rid) {
        this.rid = rid;
    }

    public String getPacket_money() {
        return packet_money;
    }

    public void setPacket_money(String packet_money) {
        this.packet_money = packet_money;
    }

    public String getSurplus_money() {
        return surplus_money;
    }

    public void setSurplus_money(String surplus_money) {
        this.surplus_money = surplus_money;
    }

    public int getGet_num() {
        return get_num;
    }

    public void setGet_num(int get_num) {
        this.get_num = get_num;
    }

    public int getPacket_num() {
        return packet_num;
    }

    public void setPacket_num(int packet_num) {
        this.packet_num = packet_num;
    }

    public int getIs_top() {
        return is_top;
    }

    public void setIs_top(int is_top) {
        this.is_top = is_top;
    }

    public int getPacket_type() {
        return packet_type;
    }

    public void setPacket_type(int packet_type) {
        this.packet_type = packet_type;
    }


    public int getIs_show_money() {
        return is_show_money;
    }

    public void setIs_show_money(int is_show_money) {
        this.is_show_money = is_show_money;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getHeader() {
        return header;
    }

    public void setHeader(String header) {
        this.header = header;
    }

    public int getUser_integral() {
        return user_integral;
    }

    public void setUser_integral(int user_integral) {
        this.user_integral = user_integral;
    }

    public int getVip_garde() {
        return vip_garde;
    }

    public void setVip_garde(int vip_garde) {
        this.vip_garde = vip_garde;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public String getPacket_picture() {
        return packet_picture;
    }

    public void setPacket_picture(String packet_picture) {
        this.packet_picture = packet_picture;
    }

    public String getPacket_title() {
        return packet_title;
    }

    public void setPacket_title(String packet_title) {
        this.packet_title = packet_title;
    }

    public String getPacket_content() {
        return packet_content;
    }

    public void setPacket_content(String packet_content) {
        this.packet_content = packet_content;
    }

    public int getIs_users_agent() {
        return is_users_agent;
    }

    public void setIs_users_agent(int is_users_agent) {
        this.is_users_agent = is_users_agent;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.uid);
        dest.writeInt(this.rid);
        dest.writeString(this.packet_money);
        dest.writeString(this.surplus_money);
        dest.writeInt(this.get_num);
        dest.writeInt(this.packet_num);
        dest.writeInt(this.is_top);
        dest.writeInt(this.packet_type);
        dest.writeString(this.packet_title);
        dest.writeString(this.packet_content);
        dest.writeInt(this.is_show_money);
        dest.writeString(this.nickname);
        dest.writeInt(this.sex);
        dest.writeString(this.header);
        dest.writeString(this.packet_picture);
        dest.writeInt(this.user_integral);
        dest.writeInt(this.vip_garde);
        dest.writeInt(this.level);
        dest.writeString(this.get_secret);
    }

    public RedListData() {
    }

    protected RedListData(Parcel in) {
        this.uid = in.readInt();
        this.rid = in.readInt();
        this.packet_money = in.readString();
        this.surplus_money = in.readString();
        this.get_num = in.readInt();
        this.packet_num = in.readInt();
        this.is_top = in.readInt();
        this.packet_type = in.readInt();
        this.packet_title = in.readString();
        this.packet_content = in.readString();
        this.is_show_money = in.readInt();
        this.nickname = in.readString();
        this.sex = in.readInt();
        this.header = in.readString();
        this.packet_picture = in.readString();
        this.user_integral = in.readInt();
        this.vip_garde = in.readInt();
        this.level = in.readInt();
        this.get_secret = in.readString();
    }

    public static final Creator<RedListData> CREATOR = new Creator<RedListData>() {
        @Override
        public RedListData createFromParcel(Parcel source) {
            return new RedListData(source);
        }

        @Override
        public RedListData[] newArray(int size) {
            return new RedListData[size];
        }
    };
}
